package com.keste.ojt1.view.task9.cpalparthi.bean;

import oracle.adf.controller.TaskFlowId;

public class Navigate {
  private String taskFlow1 = "/WEB-INF/com/keste/ojt1/view/task9/cpalaparthi/flow/EmpDepTreeTableTask9TF.xml#EmpDepTreeTableTask9TF";
  private String taskFlow2 = "/WEB-INF/com/keste/ojt1/view/task9/cpalaparthi/flow/EmpDpSearchtask9TF.xml#EmpDpSearchtask9TF";
  private String taskFlowId=taskFlow1;
  public Navigate() {
  }

  public TaskFlowId getDynamicTaskFlowId() {
    return TaskFlowId.parse(taskFlowId);
  }

  public String showMasterDetail() {
  taskFlowId=taskFlow1;
    return null;
  }

  public String showTreeTable() {
    // Add event code here...
    taskFlowId=taskFlow2;
    return null;
  }
}
